#ifndef MTQGRAPHICSVIEW_H
#define MTQGRAPHICSVIEW_H

#include <QGraphicsView>
#include "qtuiolistener.h"
#include <QGraphicsEllipseItem>
class MTQGraphicsView : public QGraphicsView
{
    Q_OBJECT
public:
     MTQGraphicsView( QGraphicsScene * scene, QWidget * parent = 0 );
private:
     QMap<int,QGraphicsEllipseItem*> touches;

     void fazBolinha(int touchId, double x, double y, int type);
public slots:
    void onTouch(int touchId, double x, double y, int type);
};

#endif // MTQGRAPHICSVIEW_H
